Skip to content

release: 7.6.0#144

Merged
imagekitio merged 36 commits into
masterfrom
release-please--branches--master--changes--next--components--nodejs
May 13, 2026
Merged

release: 7.6.0#144
imagekitio merged 36 commits into
masterfrom
release-please--branches--master--changes--next--components--nodejs

Conversation

@stainless-app
Copy link
Copy Markdown
Contributor

@stainless-app stainless-app Bot commented Apr 13, 2026

Automated Release PR

7.6.0 (2026-05-13)

Full Changelog: v7.5.0...v7.6.0

Features

  • api: add no-enlarge crop modes and colorize transformation (f673e9b)
  • api: manual updates (7c35871)
  • api: manual updates (e6c68dd)
  • api: manual updates (03a3952)
  • api: manual updates (f4b748a)
  • api: manual updates (8ad5efd)
  • support setting headers via env (79b7da8)
  • transformation: add colorize transformation support in URL generation (7390f2e)

Bug Fixes

  • correct typo in webhook_secret description (f6a558e)

Chores

  • avoid formatting file that gets changed during releases (8bdfaae)
  • configure new SDK language (a3427fe)
  • fix example snippet imports (c424b94)
  • format: run eslint and prettier separately (c753924)
  • formatter: run prettier and eslint separately (d7c26d7)
  • internal: codegen related update (48e7a85)
  • internal: codegen related update (21fe6ee)
  • internal: fix MCP cloudflare worker builds (d7fcbd6)
  • internal: fix MCP cloudflare worker initialization (d93bb2d)
  • internal: more robust bootstrap script (853429c)
  • internal: update docs ordering (885c2ad)
  • redact api-key headers in debug logs (67dc9fd)
  • remove webhook signature verification example from README (352ec15)
  • restructure docs search code (8b9992f)
  • update CLI documentation (1967acf)
  • update SDK settings (fab0b1e)

Documentation

  • clarify forwards compat behavior (1c4774d)
  • update http mcp docs (cb0cf04)
  • update logging docs (e006926)
  • update with proxy auth info (c7668e7)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented Apr 13, 2026

🧪 Testing

To try out this version of the SDK:

npm install 'https://pkg.stainless.com/s/imagekit-typescript/bc31c07476a203af7db7d0e9ca1abef6813e4398/dist.tar.gz'

Expires at: Fri, 12 Jun 2026 07:33:33 GMT
Updated at: Wed, 13 May 2026 07:33:33 GMT

@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from bd4e920 to 618aa11 Compare April 13, 2026 15:24
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 618aa11 to 76114cf Compare April 13, 2026 17:47
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 76114cf to ee36208 Compare April 20, 2026 03:53
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from ee36208 to cfc32f7 Compare April 20, 2026 04:52
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from cfc32f7 to b7c2033 Compare April 20, 2026 05:08
@stainless-app stainless-app Bot changed the title release: 7.5.1 release: 7.6.0 Apr 20, 2026
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from b7c2033 to 9fd26e7 Compare April 20, 2026 05:09
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 9fd26e7 to f95ddda Compare April 20, 2026 05:12
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from f95ddda to 9d92295 Compare April 20, 2026 05:52
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 9d92295 to b243b16 Compare April 20, 2026 05:53
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from b243b16 to 4a35866 Compare April 20, 2026 06:58
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 4a35866 to d399163 Compare April 20, 2026 18:44
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from d399163 to 6eeead5 Compare April 22, 2026 10:29
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 6eeead5 to 1ebcc86 Compare April 22, 2026 13:55
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from d43cb83 to 620edbe Compare April 24, 2026 13:27
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 620edbe to 36e6de7 Compare May 13, 2026 06:17
stainless-app Bot and others added 19 commits May 13, 2026 06:29
Pin all GitHub Actions referenced in generated workflows (both
first-party `actions/*` and third-party) to immutable commit SHAs.
Updating pinned actions is now a deliberate codegen-side bump rather
than implicit on every workflow run.
- Add `maintain_ratio_no_enlarge` to `crop` enum
- Add `pad_resize_no_enlarge` and `pad_extract_no_shrink` to `cropMode` enum
- Add `colorize` transformation parameter for applying color tints
Co-authored-by: Copilot <copilot@github.com>
…ration

Co-authored-by: Copilot <copilot@github.com>
@stainless-app stainless-app Bot force-pushed the release-please--branches--master--changes--next--components--nodejs branch from 36e6de7 to 9bf0bf0 Compare May 13, 2026 07:29
@piyushryn piyushryn requested a review from Copilot May 13, 2026 09:52
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This release PR prepares version 7.6.0 of the ImageKit Node.js SDK and MCP package, adding new transformation support, custom header configuration, release metadata updates, and tooling/build adjustments.

Changes:

  • Adds colorize and no-enlarge crop mode API/type support with URL-generation test updates.
  • Adds environment-based custom headers and API-key redaction in debug logs.
  • Updates release versions, changelog, MCP Cloudflare worker initialization, formatting/lint scripts, and pinned workflow actions.

Reviewed changes

Copilot reviewed 27 out of 31 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
.github/workflows/ci.yml Pins GitHub Actions by commit SHA.
.github/workflows/publish-npm.yml Pins checkout/setup-node actions by commit SHA.
.github/workflows/release-doctor.yml Pins checkout action by commit SHA.
.prettierignore Excludes MCP manifest and generated worker types.
.release-please-manifest.json Bumps release manifest to 7.6.0.
.stats.yml Updates Stainless spec/config metadata.
CHANGELOG.md Adds 7.6.0 release notes.
README.md Removes webhook signature example subsection.
eslint.config.mjs Removes eslint-plugin-prettier integration.
package.json Bumps SDK version and removes prettier ESLint plugin dependency.
packages/mcp-server/cloudflare-worker/package.json Updates MCP SDK/agents dependencies and overrides.
packages/mcp-server/cloudflare-worker/src/index.ts Reworks MCP server construction with fallback initialization.
packages/mcp-server/cloudflare-worker/worker-configuration.d.ts Adjusts generated lint-disable comments.
packages/mcp-server/cloudflare-worker/wrangler.jsonc Applies formatting changes.
packages/mcp-server/manifest.json Bumps MCP manifest version.
packages/mcp-server/package.json Bumps MCP package version.
packages/mcp-server/src/server.ts Updates MCP server version metadata.
scripts/bootstrap Makes SKIP_BREW expansion safer.
scripts/fast-format Runs Prettier across listed files with ignore-unknown.
scripts/format Runs Prettier across the repo after ESLint fixes.
scripts/lint Adds standalone Prettier check before ESLint/build/type checks.
scripts/utils/postprocess-files.cjs Postprocesses emitted declaration ts-ignore comments.
src/client.ts Adds IMAGE_KIT_CUSTOM_HEADERS parsing into default headers.
src/internal/types.ts Adds prettier-ignore markers around long ts-ignore type imports.
src/internal/utils/log.ts Redacts api-key/x-api-key headers in request logs.
src/lib/transformation-utils.ts Adds colorize transform mapping.
src/resources/shared.ts Adds colorize and new crop mode typings.
src/version.ts Bumps runtime SDK version.
tests/custom-tests/url-generation/basic.test.ts Updates transformation URL test for colorize.
yarn.lock Removes lock entries for prettier ESLint plugin dependency chain.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +70 to +73

function fallbackMcpServer(): McpServer {
return new McpServer(
{ name: 'imagekit_nodejs_api', version: '7.5.0' },
Comment thread src/client.ts
Comment on lines +266 to +270
for (const line of customHeadersEnv.split('\n')) {
const colon = line.indexOf(':');
if (colon >= 0) {
parsed[line.substring(0, colon).trim()] = line.substring(colon + 1).trim();
}
Comment thread src/client.ts
parsed[line.substring(0, colon).trim()] = line.substring(colon + 1).trim();
}
}
options.defaultHeaders = { ...parsed, ...options.defaultHeaders };
Comment thread src/resources/shared.ts
Comment on lines +1449 to 1453
colorize?: string;

/**
* Indicates whether the output image should retain the original color profile. See
* [Color profile](https://imagekit.io/docs/image-optimization#color-profile---cp).
unsharpMask: 'e-usm',
gradient: 'e-gradient',
colorReplace: 'cr',
colorize: 'e-colorize',
Comment thread scripts/fast-format
echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \
--write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \
'!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs'
if ! [ -z "$FILE_LIST" ]; then

// TypeScript's declaration emitter collapses /** @ts-ignore */ onto the same
// line as the type declaration, which doesn't work. So we convert to // @ts-ignore
// on its own line to properly suppresses errors.
Comment thread src/internal/utils/log.ts
Comment on lines 109 to 113
name.toLowerCase() === 'authorization' ||
name.toLowerCase() === 'api-key' ||
name.toLowerCase() === 'x-api-key' ||
name.toLowerCase() === 'cookie' ||
name.toLowerCase() === 'set-cookie'
"@modelcontextprotocol/sdk": "^1.27.1",
"agents": "^0.8.5",
"@modelcontextprotocol/sdk": "1.28.0",
"agents": "~0.8.7",
Comment thread src/client.ts
Comment on lines +263 to +272
const customHeadersEnv = readEnv('IMAGE_KIT_CUSTOM_HEADERS');
if (customHeadersEnv) {
const parsed: Record<string, string> = {};
for (const line of customHeadersEnv.split('\n')) {
const colon = line.indexOf(':');
if (colon >= 0) {
parsed[line.substring(0, colon).trim()] = line.substring(colon + 1).trim();
}
}
options.defaultHeaders = { ...parsed, ...options.defaultHeaders };
@imagekitio imagekitio merged commit 69c37ad into master May 13, 2026
10 of 11 checks passed
@stainless-app
Copy link
Copy Markdown
Contributor Author

stainless-app Bot commented May 13, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants